<?php
/**
 +------------------------------------------------------------------------------
 * 地址转发配置
 +------------------------------------------------------------------------------
 */
return array(
	'^\/$' => '/main/main/',
    '^\?' => '/main/main?',
    '^\/\?' => '/main/main?',

    '^\/([A-Za-z0-9]+)$' => '/$1/main',
    '^\/([A-Za-z0-9]+)\/$' => '/$1/main',
	'^\/([A-Za-z0-9]+)\?' => '/$1/main?',
    '^\/([A-Za-z0-9]+)\/\?' => '/$1/main?',
    
    '^\/([A-Za-z0-9]+)\/([A-Za-z0-9]+)$' => '/$1/$2',
    '^\/([A-Za-z0-9]+)\/([A-Za-z0-9]+)\/$' => '/$1/$2',
	'^\/([A-Za-z0-9]+)\/([A-Za-z0-9]+)\?' => '/$1/$2?',
    '^\/([A-Za-z0-9]+)\/([A-Za-z0-9]+)\/\?' => '/$1/$2?',

	'^\/([A-Za-z0-9]+)-([A-Za-z0-9]+)$' => '/$1/$2',
    '^\/([A-Za-z0-9]+)-([A-Za-z0-9]+)\/$' => '/$1/$2',
	'^\/([A-Za-z0-9]+)-([A-Za-z0-9]+)\?' => '/$1/$2?',
    '^\/([A-Za-z0-9]+)-([A-Za-z0-9]+)\/\?$' => '/$1/$2?',

	'^\/([A-Za-z0-9]+)-(\d+).html$' => '/$1/main?folder=default&file=$2',
	'^\/([A-Za-z0-9]+)-([A-Za-z0-9]+)-(\d+).html$' => '/$1/main?folder=$2&file=$3',
);
?>